#include<graphics.h>
#include<conio.h>
#define Width 640
#define Height 480
void main() {
	initgraph(Width, Height);
	BeginBatchDraw();
	IMAGE img;
	setlinecolor(CYAN);
	line(100,200,200,200);
	line(100,200,100,240);
	line(200,200,200,240);
	line(80,240,225,240);
	line(80,240,50,300);
	line(225,240,255,300);
	line(50,300,90,300);
	line(110,300,170,300);
	line(210,300,255,300);
	setfillcolor(BLACK);
	fillcircle(110,300,20);
	fillcircle(190,300,20);
	int start_x,start_y;
	start_x=100;
	start_y=200;
	getimage(&img, 50, 200, 255, 300);
	while(1)
	{
		cleardevice();start_x+=1;
		if(start_x>=Width-205)
		{
			break;
		}
		putimage(start_x, start_y, &img);
		Sleep(3);
		FlushBatchDraw();
	}
	_getch();
	closegraph();
}